package com.pzh.vue.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pzh.vue.pojo.SysFile;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface FileMapper extends BaseMapper<SysFile> {
    @Select("select name from sys_file where url = #{url}")
    String findName(@Param("url") String fileUrl);
}
